#ifndef _APP_POSITION_PID_H_
#define _APP_POSITION_PID_H_

#include "hw_motor.h"
#include "mid_pid.h"

#define Car_Base_Speed 1500 //循迹基本速度

extern int new_error;
extern int i;
extern PID tracing_pid;

void tracing_pid_init(void);
PID* get_position_pid(void);
int get_position_pid_target(void);
void position_control(void);
void track_Set_PWM(int pwm_value);


#endif